make clean
rm -fr gpsbabel-$(VERSIOND)
make gpsbabel doc gpsbabel.html
- cvs tag -F gpsbabel_$(VERSIONU)
- cvs export -r gpsbabel_$(VERSIONU) -d gpsbabel-$(VERSIOND) gpsbabel
+ @(. tools/functions && ask "Enter 'y' to tag the tree." "y") && cvs tag -F gpsbabel_$(VERSIONU) ; exit 0
+ cvs export -r gpsbabel_$(VERSIONU) -d /tmp/gpsbabel-$(VERSIOND) gpsbabel
+ touch /tmp/gpsbabel-$(VERSIOND)/internal_styles.c
#
# Build the release tarball from the exported CVS tree, tweaking
#
release-tarball: gpsbabel.html
# rm -fr /tmp/gpsbabel-$(VERSIOND)
- touch /tmp/gpsbabel-$(VERSIOND)/internal_styles.c
cp -ap gpsbabel.html /tmp/gpsbabel-$(VERSIOND)/
- tar czf /tmp/gpsbabel-$(VERSIOND).tar.gz gpsbabel-$(VERSIOND)
+ cd /tmp ; tar czf /tmp/gpsbabel-$(VERSIOND).tar.gz gpsbabel-$(VERSIOND)
# cd /tmp ; tar xzf gpsbabel-$(VERSIOND).tar.gz
# under linux: ./configure --target=i386-pc-mingw32 && make mingw32-cross-build
mingw32-cross-build:
make \
- CC=/usr/local/bin/i386-mingw32-gcc \
+ CC=i386-mingw32-gcc \
EXEEXT=.exe \
EXTRA_LDFLAGS="-Lmingw/lib -Imingw/include "
+++ /dev/null
-function trim_filelist()
-{
- sort |
- uniq | # remove duplicate lines
- sed 's/^[ \t]*//;s/[ \t]*$//' | # remove leading and trailing whitespaces
- sed '/^$/d' # drop empty lines
-}
-
-function check_filelist() # check presence of all files
-{
- while read f; do
- [ -e "$f" ] && continue
- echo missing: "$f"; exit 1
- done
- exit 0
-}
-
-function ask_mrproper()
-{
- echo ""
- echo "--------------------------------------------------"
- echo "!!! WARNING !!! WARNING !!! WARNING !!!WARNING !!!"
- echo "--------------------------------------------------"
- echo "All files they are not part of the CVS source tree"
- echo " and they not registered in .filelist-devel"
- echo " will be killed."
- echo ""
- echo -n "Please type yyeess if you are know what you do: "
- read answer
- test "$answer" != "yyeess" && exit 1
- exit 0
-}
-
-function ask() # $1=Question $2=Answer for TRUE
-{
- echo ""
- echo -n "$1 : "
- read answer
- test "$answer" != "$2" && exit 1
- exit 0
-}
--- /dev/null
+function trim_filelist()
+{
+ sort |
+ uniq | # remove duplicate lines
+ sed 's/^[ \t]*//;s/[ \t]*$//' | # remove leading and trailing whitespaces
+ sed '/^$/d' # drop empty lines
+}
+
+function check_filelist() # check presence of all files
+{
+ while read f; do
+ [ -e "$f" ] && continue
+ echo missing: "$f"; exit 1
+ done
+ exit 0
+}
+
+function ask_mrproper()
+{
+ echo ""
+ echo "--------------------------------------------------"
+ echo "!!! WARNING !!! WARNING !!! WARNING !!!WARNING !!!"
+ echo "--------------------------------------------------"
+ echo "All files they are not part of the CVS source tree"
+ echo " and they not registered in .filelist-devel"
+ echo " will be killed."
+ echo ""
+ echo -n "Please type yyeess if you are know what you do: "
+ read answer
+ test "$answer" != "yyeess" && exit 1
+ exit 0
+}
+
+function ask() # $1=Question $2=Answer for TRUE
+{
+ echo ""
+ echo -n "$1 : "
+ read answer
+ test "$answer" != "$2" && exit 1
+ exit 0
+}